﻿<%@ Page Title="" Language="C#" MasterPageFile="~/AdminPanel/AdminSite.Master" AutoEventWireup="true" CodeBehind="Subsidiaries.aspx.cs" Inherits="FastTrackCabService.AdminPanel.Subsidiaries" %>
<%@ Import Namespace="BusinessLogicLayer" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link href="../Style/Subsidiaries.css" rel="stylesheet" type="text/css"/>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table style="width: 100%;">
        <tr>
            <td class="subsidiaryContainer">
                <asp:Repeater ID="Repeater1" runat="server">
                    <ItemTemplate>
                        <asp:HyperLink ID="HyperLink1" NavigateUrl='<%# "DetailsBySubsidiary.aspx?subId=" + Eval("SubsidiaryId") %>' runat="server"><%# CityBLL.GetCityById(Convert.ToByte(Eval("CityId"))).Name %></asp:HyperLink><br/>
                    </ItemTemplate>
                </asp:Repeater>
            </td>
            <td style="padding-right: 1em; text-align: right;">
                <img src="../Images/subsidiaries.png"/>
            </td>
        </tr>
    </table>

</asp:Content>